import request from '../utils/fetch'
export function getUserStudyList(data) {
  return request({
    url: '/admin/datatotal/getUserStudyList',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function getCourseStudyList(data) {
  return request({
    url: '/admin/datatotal/getCourseStudyList',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function getUserStudyCourseList(data) {
  return request({
    url: '/admin/datatotal/getUserStudyCourseList',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function getCourseContentStudyList(data) {
  return request({
    url: '/admin/datatotal/getCourseContentStudyList',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function getCourseStudyDetail(data) {
  return request({
    url: '/admin/datatotal/getCourseStudyDetail',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function getUserStudyCourseContentList(data) {
  return request({
    url: '/admin/datatotal/getUserStudyCourseContentList',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function getHomePageTotal(data) {
  return request({
    url: '/admin/datatotal/getHomePageTotal',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}